<include path="header" /> 
	<div class="m-title">
        <ul>
          <li><a href="/mailer/index">收件箱</a></li>
          <li><a href="/mailer/sendbox">发件箱</a></li>
          <li><a href="/mailer/linkman">联系人</a></li>
          <li class="right"><a href="javascript:void(0)" onclick="mailer_receive()">收 信</a></li>
          <li class="right"><a href="/mailer/send">写 信</a></li><strong></strong>
          <li></li>
        </ul>
   </div>   
   <div class="box top-desc">   	
   	 <div class="mailbox">
        <div class="mailinfo">
            <div>
            	<span class="topic"><?=$mail[subject]?></span>
	            <div class="right opts"><a href="/mailer/deletesendmail?mailid=<?=$mail[mailer_outbox_id]?>">Del</a></div>
            </div>
            <div>收件人：<?=$mail[to]?></div>
            <div>时&nbsp;&nbsp;&nbsp;间：<?=date('Y-m-d H:m:s',$mail[mktime])?></div> 
        </div> 
        <iframe src="<?=$mail[content_file]?>" class="mailcontent">
        </iframe>
         <? if(!empty($mail['attachment'])){?>
		<br/><br/><hr/>相关附件：
		<? for($i=0;$i<count($mail['attachment']);$i++){?>
			 <a href="<?=$mail['attachment'][$i]['file_path']?>" target="_blank"><?=$mail['attachment'][$i]['file_name']?></a>
		 <?
		 	}
		 }
		 ?>
      </div>          
	</div>
<include path="footer" />